package cn.com.scooper.controller.data.xf;

import cn.com.scooper.common.resp.APIRespJson;
import cn.com.scooper.schedue.MineDataScheduled;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/data/mineIotSlopeDevice")
public class MineIotSlopeDeviceController {
    @Autowired
    private MineDataScheduled mineDataScheduled;

    @RequestMapping("/hongShiDeviceScheduled")
    public APIRespJson hongShiDeviceScheduled() {
        mineDataScheduled.hongShiDeviceScheduled();
        return new APIRespJson();
    }

    @RequestMapping("/nanFangDeviceScheduled")
    public APIRespJson nanFangDeviceScheduled() {
        mineDataScheduled.nanFangDeviceScheduled();
        return new APIRespJson();
    }

    @RequestMapping("/changYuDeviceScheduled")
    public APIRespJson changYuDeviceScheduled() {
        mineDataScheduled.changYuDeviceScheduled();
        return new APIRespJson();
    }
}